<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
    <div class="container">
        <form action="doAdd" method="POST" role="form">
            <legend>添加数据</legend>

            <div class="form-group">
                <label for="title">title:</label>
                <input type="text" name="title" class="form-control" id="title" placeholder="Input field">
            </div>
            <div class="form-group">
                <label for="content">content:</label>
                <textarea name="content" id="content" class="form-control" cols="30" rows="10"></textarea></p>
            </div>
            <button type="submit" class="btn btn-primary">添加</button>
        </form>
    </div>

</body>

</html>